package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.info.GainLogisticsInfo;
import com.kws.system.domain.info.QueryLogisticsDetailsInfo;
import com.kws.system.domain.info.QueryLogisticsScheduleInfo;
import com.kws.system.domain.payment.TbOrder;
import com.kws.system.domain.vo.QueryLogisticsScheduleRq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogisticsScheduleMapper extends BaseMapper<TbOrder> {
    Page<QueryLogisticsScheduleInfo> queryLogisticsSchedulePage(@Param("page") Page<QueryLogisticsScheduleInfo> page, @Param("query") QueryLogisticsScheduleRq query);

    List<GainLogisticsInfo> gainLogisticsStatus();

    GainLogisticsInfo gainLogisticsStatusById(@Param("id") Long id);

    QueryLogisticsDetailsInfo queryLogisticsDetailsById(@Param("id") Long id);
}
